import React from 'react';
import { Button } from 'react-weui';
import Cell from './cell_tpl';
import Flex from './flex_tpl';

export default class LoginView extends React.Component {
  componentDidMount() {
    this.props.testAction('Hi, TaoZhang! This is the base project for BSP Wechat! Please check in.');
  }

  render() {
    return <div>
        I am LoginView!
        <Button className='weui-btn_warn weui-btn_disabled'>小杜</Button>
        <a href="javascript:;" className="weui-btn weui-btn_primary">按钮</a>
        <Cell />
        { this.props.text }
        <Flex />
      </div>
  }
}